extends "../longfeng-3/longfeng-3.gd"


var baseId = ""
var upText1 = "樱绽凤华伤害提高40%"
var upText2 = "龙卷风造成的伤害提高30%"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("每{cd}秒对龙卷风周围2格的敌人造成[航空*2]的技能伤害", "樱绽凤华", "ryuho2", 10)

func _castCdSkill(id):
	._castCdSkill(id)
	if id=="ryuho2":
		ryuho2()

func ryuho2():
	for i in getCellChas(effCell, 2, 1):
		azurHurtChara(i, att.atk*2, sys.HurtType.WEAPON, sys.AtkType.SKILL, "樱绽凤华", false, p4)
var p4 = 1
func upgrade():
	.upgrade()
	if upgraded == 1:
		p4 = 1.4
	if upgraded == 2:
		p2 = 1.3